package data.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import data.dao.daoImplementation.NotFoundException;
import data.dto.*;
import data.searchdto.LeaveDetailSearchDTO;

public interface LeaveDetailDAO {
	public LeaveDetailDTO findLeaveDetail(LeaveDetailSearchDTO leavedetailsearchdto) throws LeaveDAOException, SQLException, NotFoundException, data.dao.daoImplementation.SQLException;
	public ArrayList<LeaveDetailDTO> findAllLeaveDetail() throws LeaveDAOException;
    public void insertLeaveDetail(LeaveDetailDTO LeaveDetail) throws LeaveDAOException, SQLException, data.dao.daoImplementation.SQLException;
    public void updateLeaveDetail(LeaveDetailDTO LeaveDetail) throws LeaveDAOException, SQLException, NotFoundException, data.dao.daoImplementation.SQLException;
    public void deleteLeaveDetail(LeaveDetailDTO LeaveDetail) throws LeaveDAOException, SQLException, NotFoundException, data.dao.daoImplementation.SQLException;

}
